package cn.edu.cdu.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("diagnosis")
public class Diagnosis {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long appointmentId; // 预约ID
    private Long patientId;     // 患者ID
    private Long doctorId;      // 医生ID
    private String symptoms;    // 症状描述
    private String diagnosisResult; // 诊断结果
    private String prescription;    // 处方
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}